<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<h2>字符串、整数，布尔，数组</h2>
		<script>

			
			var  hobby=["吃","喝","嫖","赌"];
			console.log(hobby[hobby.length-1]);
			
		</script>
		
		
	</body>
</html>
